#ifndef SUBJECT_H
#define SUBJECT_H

#include "Observer.h"
#include <iostream>
#include <list>
using namespace std;

class Subject {
public:
    virtual void registerObserver(Observer* o) = 0;
    virtual void removeObserver(Observer* o) = 0;
    virtual void notifyObservers() = 0;
};

#endif // SUBJECT_H
